package com.xiaoge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* @Author: 冷俊杰
* @Description: TODO
* @DateTime: 2022/11/9 20:01
**/
/**
    * 前端用户信息
    */
@Data
@TableName(value = "edu_user_ext")
public class EduUserExt {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    /**
     * 状态(1:正常，0:禁用)
     */
    @TableField(value = "status_id")
    private Byte statusId;

    /**
     * 用户编号
     */
    @TableField(value = "user_no")
    private Long userNo;

    /**
     * 用户类型(1用户，2讲师)
     */
    @TableField(value = "user_type")
    private Byte userType;

    /**
     * 手机号码
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 密码盐
     */
    @TableField(value = "mobile_salt")
    private String mobileSalt;

    /**
     * 登录密码
     */
    @TableField(value = "mobile_psw")
    private String mobilePsw;

    /**
     * 性别(1男，2女，3保密)
     */
    @TableField(value = "sex")
    private Byte sex;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 头像地址
     */
    @TableField(value = "head_img_url")
    private String headImgUrl;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    public static final String COL_ID = "id";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    public static final String COL_STATUS_ID = "status_id";

    public static final String COL_USER_NO = "user_no";

    public static final String COL_USER_TYPE = "user_type";

    public static final String COL_MOBILE = "mobile";

    public static final String COL_MOBILE_SALT = "mobile_salt";

    public static final String COL_MOBILE_PSW = "mobile_psw";

    public static final String COL_SEX = "sex";

    public static final String COL_AGE = "age";

    public static final String COL_NICKNAME = "nickname";

    public static final String COL_HEAD_IMG_URL = "head_img_url";

    public static final String COL_REMARK = "remark";
}